package jmu.cze.mapper;

import jmu.cze.pojo.Terminal;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface TerminalMapper {
    int insert(Terminal terminal);

    int delete(int id);

    int update(Terminal terminal);

    Terminal selectById(int id);

    Terminal selectByNames(@Param("airportName") String airportName,@Param("terminalName") String terminalName);
}
